package com.qf.service;

import com.qf.pojo.Community;
import com.qf.pojo.Equipment;
import com.qf.pojo.Owner;
import com.qf.pojo.Repair;

import java.util.List;

public interface RepairService {

    List<Repair> findByRepairPage();

    // 查询或者修改之后跳转
    void saveOrUpdateRepair(Repair repair);


    Repair findByRepairId(Integer id);

    Integer deleteRepair(Integer id);


    List<Community> findAllCommunity();

    List<Owner> findAllOwner();

    List<Equipment> findAllEquipment();


    void deleteByRepairId(Integer[] ids);
}
